<template>
    <div>
        <ul class="links">
            <li v-for="(item, idx) in links" :key="idx" class="link-item">
                <nuxt-link to="/" class="link">
                    <i :class="item.icon" class="icon" aria-hidden="true" />
                    {{ item.txt }}
                </nuxt-link>
            </li>
        </ul>
    </div>
</template>

<script>
    import dataLinks from 'assets/data/data-index-home-links'
    export default {
        data: function () {
            return {
                links: dataLinks.links
            }
        }
    }
</script>

<style scoped>

</style>